跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

Testing ReadOnly

The read only contract requires a special contract. You can find the source code under src/tests/readonly_contract. Once compiled the contracted is loaded via the command cleos -u https://jungle4.cryptolions.io set contract hokieshokies ./ contract.wasm contract.abi The action on read-only test will refer to mycontract, and with the contract loaded you will be able to run the test